#ifndef __DRV_SHT20_H__
#define __DRV_SHT20_H__
#include <stm32f4xx.h>
typedef struct
{
	uint8_t tem_h;
	uint8_t tem_l;
	uint8_t hum_h;
	uint8_t hum_l;
	float tem;
	float hum;
}sht20_val;
extern sht20_val tem_hum_data;
void drv_sht20_init(void);
uint16_t drv_sht20_read(uint16_t cmd);  

void drv_sht20_getdata(void);
uint8_t drv_sht20_reset(void);

#endif //__DRV_SHT20_H__

